import 'package:emoji_picker_flutter/emoji_picker_flutter.dart';
import 'package:flutter_test/flutter_test.dart';

void main() {
  test("emojiTest", () async {
    String result = '';
    int total = 0;
    List<CategoryEmoji> tts = defaultEmojiSet;
    for (CategoryEmoji categoryEmoji in tts) {
      for (var emoji in categoryEmoji.emoji) {
        total ++;
        result += emoji.emoji + ",";
      }
    }
    print('total $total'); // 1621
    print(result);
  });

  test("emoji category", () async {
    String result = '';
    int total = 0;
    List<CategoryEmoji> tts = defaultEmojiSet;
    for (CategoryEmoji categoryEmoji in tts) {
      print('emoji: ${categoryEmoji.category.name}, size: ${categoryEmoji.emoji.length}'); // 1621
    }

    print(result);
  });
}